#ifndef VOLUECONTROL_H
#define VOLUECONTROL_H

#include <QWidget>
#include <QPainter>

class VolueControl : public QWidget
{
    Q_OBJECT
public:
    explicit VolueControl(QWidget *parent = 0);

    void setValue(int v);
    int getValue() {return m_val;}
    
signals:
    
public slots:

protected:
    void paintEvent(QPaintEvent *event);

private:
    int m_val;
    QPainter m_paint;
    
};

#endif // VOLUECONTROL_H
